<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>

    <div class="menu">
        <ul>
            <li>
                <p>教学系统</p>
                <dl>
                    <dd>111</dd>
                    <dd>111</dd>
                    <dd>111</dd>
                    <dd>111</dd>
                </dl>
            </li>
            <li>
                <p>教学系统</p>
                <dl>
                    <dd>111</dd>
                    <dd>111</dd>
                    <dd>111</dd>
                    <dd>111</dd>
                </dl>
            </li>
            <li>
                <p>教学系统</p>
                <dl>
                    <dd>111</dd>
                    <dd>111</dd>
                    <dd>111</dd>
                    <dd>111</dd>
                </dl>
            </li>
        </ul>
    </div>

    <script src="../js/jquery.min.js"></script>
    <script>

        $('p').on('click', function () {
            $(this).css('color', 'red').next().slideToggle()
        })
    </script>

</body>

</html>